home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000135_grinder@no.spam.maam.com_Fri Nov 9 09:11:03 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  83 lines

  1. Article: 12954 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4
  3. From: "Grinder" <grinder@no.spam.maam.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: INPUT Initialization Error
  6. Date: Thu, 8 Nov 2001 19:32:38 -0600
  7. Organization: http://extra.newsguy.com
  8. Lines: 65
  9. Message-ID: <9sfc9v025s2@enews4.newsguy.com>
  10. References: <9scp19217r7@enews2.newsguy.com> <9se35i$ip6$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: 216-166-242-158.grics.net
  12. X-Priority: 3
  13. X-MSMail-Priority: Normal
  14. X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
  15. X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12954
  17.  
  18. Ok, I think I nearly have this whipped.  Your advice has been
  19. great.  If you're up for a bit more, I could stand a sanity
  20. check.
  21.  
  22. In particular, I'm unsure about the order of the modem
  23. configuration commands.  I noticed in the K96custom.ini that
  24. gets installed, that it first sets modem type to "none," before
  25. applying the tapi parameters retrieved during setup.  I guessed
  26. this was because setting values could trigger code that would
  27. act on an incomplete configuration.  By declaring "none," the
  28. logic would bypass those reactions?
  29.  
  30. This is the top part of my script, does it look reasonable?
  31.  
  32. Thanks again for your efforts.
  33.  
  34. ______________________
  35.  
  36. define \%n 1-877-208-6005
  37. define \%u xxx
  38. define \%p xxx
  39.  
  40. define \%m Creative_Modem_Blaster_Flash56_PCI_DI5630-4
  41. define \%t tapi
  42. define \%a COM3
  43. define \%b 115200
  44. define \%c on
  45. define \%d off
  46.  
  47. ; begin
  48. boilerplate - - - - - - - - - - - - - - - - - - - - - - - - - - 
  49. - - -
  50.  
  51. ; Show extra status information
  52. log debug debug.log
  53. log session session.log
  54. ; set dial display on
  55.  
  56. ; Configure the modem
  57. if def \%t { set modem type \%t }
  58. if def \%a { set port \%a }
  59. if def \%b { set speed \%b }
  60. if def \%c { set carrier-watch \%c }
  61.  
  62. ; Additional TAPI configuration
  63. if def \%m  {
  64.   if def \%d { set tapi modem-dialing \%d }
  65.   set tapi line \%m
  66.   if failure {
  67.   echo \13\10ERROR: could configure modem\13\10
  68.   goto HANGUP
  69.   }
  70. }
  71.  
  72. :DIALMCK
  73. dial \%n
  74. if failure {
  75.   echo \13\10ERROR: dial unsuccessful\13\10
  76.   goto HANGUP
  77. }
  78. pause 5
  79.  
  80. ; attempt login ...
  81.  
  82.  
  83.